<!DOCTYPE>
<html>
  <head>
    <meta charset="utf-8">
    <link type="text/css" href="Style.css" rel="stylesheet"></link>
  	<title>注册</title>
  	<script type="text/javascript" src="js/inputnull.js"></script>
	<style>
	  form#registerForm{position:absolute;left:550px;top:150px;width:600px;height:550px;}
	  input#userName{position:relative;left:44;width:180px;height:40px;border-radius:0.6em;border:1px solid #777;outline:none;}
	  select#sex{position:relative;left:61;width:180px;height:40px;}
	  input#account{position:relative;left:60;width:400px;height:40px;border-radius:0.6em;border:1px solid #777;outline:none;}
	  input#password{position:relative;left:61;width:400px;height:40px;border-radius:0.6em;border:1px solid #777;outline:none;}
	  input#confirmPassword{position:relative;left:30;width:400px;height:40px;border-radius:0.6em;border:1px solid #777;outline:none;}
	  input#phonenumber{position:relative;left:30;width:400px;height:40px;border-radius:0.6em;border:1px solid #777;outline:none;}
	  input#address{position:relative;left:62;width:400px;height:40px;border-radius:0.6em;border:1px solid #777;outline:none;}
	  input#registerButton{position:relative;left:0px;top:20px;width:500px;height:45px;cursor:pointer;border:none;background-color:#1f7ff4;font-size:20;color:white;}
	</style>
  </head>
  <body>
	<ul id="nav">        <!--导航条-->
	  <li><a href="login.html">注册/登录</a></li>
	</ul>
	<form id="searchBook" onSubmit=" return navigationbeforeSubmit(this) ">
	    <text id="s_b_txt1">二手书回收平台</text>
	    <text id="s_b_txt2">二手书定价查询平台</text>
	    <input id="s_b_input1" name="bookNameAuthor" type="text" placeholder="图书名称、作者">
		<input id="s_b_input2" name="search" type="submit" value="搜索">                   <!-- 搜索功能 -->
	</form>
	<form id="registerForm" method="post" action="../registerServlet" onsubmit="return registerbeforeSubmit(document.forms[1])">
	    用户名<input type="text" id="userName" name="userName" placeholder="用户名">

		<select id="sex" name="sex"><option>男</option><option>女</option></select><br/>
		<br/>
	    账号<input type="text" id="account" name="account" placeholder="账号"><br/>
		<br/>
		密码<input type="text" id="password" name="password" placeholder="密码"><br/>
		<br/>
		确认密码<input type="text" id="confirmPassword" name="confirmPassword" placeholder="确认密码"><br/>
		<br/>
		手机号码<input type="text" id="phonenumber" name="phonenumber" placeholder="手机号码"><br/>
		<br/>
		地址<input type="text" id="address" name="address" placeholder="地址"><br/>
		<br/>
		<input type="submit" id="registerButton" name="registerButton" value="注册新账户">   <!-- 提交注册信息 -->
	</form>
  </body>
</html>